package com.tjnu.baiyi.entity;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * TbUser entity. @author MyEclipse Persistence Tools
 */

public class TbUser implements java.io.Serializable {
	private static final long serialVersionUID = 5315496312772008435L;
	private Integer userId;
	private String userName;
	private String password;
	private String email;
	private String sex;
	private Integer age;
	private String profession;
	private Timestamp birthday;
	private String hobby;
	private String emotionCondition;
	private String persionalExplain;
	private Integer userHot;
	private String userPortrait;
	private String qzoneName;
	private String qzoneAutograph;
	private Integer visitorSize;
	private Set tbVisitorsForUserId = new HashSet(0);
	private Set tbFriendsForUserId = new HashSet(0);
	private Set tbComments = new HashSet(0);
	private Set tbVisitorsForVisitorId = new HashSet(0);
	private Set tbMessagesForReceiptMessageId = new HashSet(0);
	private Set tbAlbums = new HashSet(0);
	private Set tbMessagesForSendMessageId = new HashSet(0);
	private Set tbFriendsForFriendId = new HashSet(0);
	private Set tbAlbumVisitors = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbUser() {
	}

	/** minimal constructor */
	public TbUser(String userName, String password, String email,
			Integer userHot, String qzoneName) {
		this.userName = userName;
		this.password = password;
		this.email = email;
		this.userHot = userHot;
		this.qzoneName = qzoneName;
	}

	/** full constructor */
	public TbUser(String userName, String password, String email, String sex,
			Integer age, String profession, Timestamp birthday, String hobby,
			String emotionCondition, String persionalExplain, Integer userHot,
			String userPortrait, String qzoneName, String qzoneAutograph,
			Set tbVisitorsForUserId, Set tbFriendsForUserId, Set tbComments,
			Set tbVisitorsForVisitorId, Set tbMessagesForReceiptMessageId,
			Set tbAlbums, Set tbMessagesForSendMessageId,
			Set tbFriendsForFriendId, Set tbAlbumVisitors) {
		this.userName = userName;
		this.password = password;
		this.email = email;
		this.sex = sex;
		this.age = age;
		this.profession = profession;
		this.birthday = birthday;
		this.hobby = hobby;
		this.emotionCondition = emotionCondition;
		this.persionalExplain = persionalExplain;
		this.userHot = userHot;
		this.userPortrait = userPortrait;
		this.qzoneName = qzoneName;
		this.qzoneAutograph = qzoneAutograph;
		this.tbVisitorsForUserId = tbVisitorsForUserId;
		this.tbFriendsForUserId = tbFriendsForUserId;
		this.tbComments = tbComments;
		this.tbVisitorsForVisitorId = tbVisitorsForVisitorId;
		this.tbMessagesForReceiptMessageId = tbMessagesForReceiptMessageId;
		this.tbAlbums = tbAlbums;
		this.tbMessagesForSendMessageId = tbMessagesForSendMessageId;
		this.tbFriendsForFriendId = tbFriendsForFriendId;
		this.tbAlbumVisitors = tbAlbumVisitors;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getProfession() {
		return this.profession;
	}

	public void setProfession(String profession) {
		this.profession = profession;
	}

	public Timestamp getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Timestamp birthday) {
		this.birthday = birthday;
	}

	public String getHobby() {
		return this.hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}

	public String getEmotionCondition() {
		return this.emotionCondition;
	}

	public void setEmotionCondition(String emotionCondition) {
		this.emotionCondition = emotionCondition;
	}

	public String getPersionalExplain() {
		return this.persionalExplain;
	}

	public void setPersionalExplain(String persionalExplain) {
		this.persionalExplain = persionalExplain;
	}

	public Integer getUserHot() {
		return this.userHot;
	}

	public void setUserHot(Integer userHot) {
		this.userHot = userHot;
	}

	public String getUserPortrait() {
		return this.userPortrait;
	}

	public void setUserPortrait(String userPortrait) {
		this.userPortrait = userPortrait;
	}

	public String getQzoneName() {
		return this.qzoneName;
	}

	public void setQzoneName(String qzoneName) {
		this.qzoneName = qzoneName;
	}

	public String getQzoneAutograph() {
		return this.qzoneAutograph;
	}

	public void setQzoneAutograph(String qzoneAutograph) {
		this.qzoneAutograph = qzoneAutograph;
	}

	public Integer getVisitorSize() {
		return visitorSize;
	}

	public void setVisitorSize(Integer visitorSize) {
		this.visitorSize = visitorSize;
	}

	public Set getTbVisitorsForUserId() {
		return this.tbVisitorsForUserId;
	}

	public void setTbVisitorsForUserId(Set tbVisitorsForUserId) {
		this.tbVisitorsForUserId = tbVisitorsForUserId;
	}

	public Set getTbFriendsForUserId() {
		return this.tbFriendsForUserId;
	}

	public void setTbFriendsForUserId(Set tbFriendsForUserId) {
		this.tbFriendsForUserId = tbFriendsForUserId;
	}

	public Set getTbComments() {
		return this.tbComments;
	}

	public void setTbComments(Set tbComments) {
		this.tbComments = tbComments;
	}

	public Set getTbVisitorsForVisitorId() {
		return this.tbVisitorsForVisitorId;
	}

	public void setTbVisitorsForVisitorId(Set tbVisitorsForVisitorId) {
		this.tbVisitorsForVisitorId = tbVisitorsForVisitorId;
	}

	public Set getTbMessagesForReceiptMessageId() {
		return this.tbMessagesForReceiptMessageId;
	}

	public void setTbMessagesForReceiptMessageId(
			Set tbMessagesForReceiptMessageId) {
		this.tbMessagesForReceiptMessageId = tbMessagesForReceiptMessageId;
	}

	public Set getTbAlbums() {
		return this.tbAlbums;
	}

	public void setTbAlbums(Set tbAlbums) {
		this.tbAlbums = tbAlbums;
	}

	public Set getTbMessagesForSendMessageId() {
		return this.tbMessagesForSendMessageId;
	}

	public void setTbMessagesForSendMessageId(Set tbMessagesForSendMessageId) {
		this.tbMessagesForSendMessageId = tbMessagesForSendMessageId;
	}

	public Set getTbFriendsForFriendId() {
		return this.tbFriendsForFriendId;
	}

	public void setTbFriendsForFriendId(Set tbFriendsForFriendId) {
		this.tbFriendsForFriendId = tbFriendsForFriendId;
	}

	public Set getTbAlbumVisitors() {
		return this.tbAlbumVisitors;
	}

	public void setTbAlbumVisitors(Set tbAlbumVisitors) {
		this.tbAlbumVisitors = tbAlbumVisitors;
	}

}